package com._21cn.cms.common;

/**
 * Created by Thinkpad on 2017/3/21.
 */
public class Constants {

    public static final String ADMIN_AUTH_KEY                       =      "admin_auth_key";
    public static final String ADMIN_AUTH_VALUE                     =       "xxt:value_admin";
    public static final String ADMIN_DOMAIN_NAME                    =       "admin.cms.qiaoliba.com";

    public static final int DEFAULT_SITE_ID                      =   1;
    public static final String DEFAULT_SITE_HOST                 =  "qiaoliba.com";
    public static final String DEFAULT_IMAGE_HOST                =  "image.qiaoliba.com";
    public static final String DEFAULT_FILE_PATH                 =  "/data";

    public static final int STATUS_CLOSE				= 0;			//关闭
    public static final int STATUS_ENABLE				= 1;			//正常

    public static final int IS_SHOW                     = 1;
    public static final int IS_CLOSE                    = 0;

    public static final int DEFAULT_FIRST_PAGE_NO             = 1;
    public static final int DEFAULT_PAGE_SIZE_LARGER    = 500;
    public static final int DEFAULT_PAGE_SIZE_MIDDLE    = 100;
    public static final int DEFAULT_PAGE_SIZE_COMMON    = 20;
    public static final int DEFAULT_TOTAL_PAGE           = 20;

    //模板类型
    public static final int TEMPLATE_TYPE_CHANNEL_INDEX      = 1;
    public static final int TEMPLATE_TYPE_COLUMN_LIST       = 2;
    public static final int TEMPLATE_TYPE_ARTICLE_CONTENT   = 3;
    public static final int TEMPLATE_TYPE_REGION_INCLUDE    = 4;
    public static final int TEMPLATE_TYPE_SPECIAL           = 5;

    public static final int TEMPLATE_STATUS_CLOSE            = 0;
    public static final int TEMPLATE_STATUS_ENABLE           = 1;
    public static final int TEMPLATE_STATUS_TEST             = 2;

    public static final int RETURN_SUCCESS_CODE                                     =      1;          //成功
    public static final int RETURN_ERROR_CODE 									     =     -1;	 		  //返回失败

    public static final int CATE_TYPE_BRAND             =   1;
    public static final int CATE_TYPE_SERIES            =   2;
    public static final int CATE_TYPE_OTHER             =   3;
    public static final int CATE_TYPE_PROPERTY          =   4;
    public static final int CATE_TYPE_WATCH_BRAND       =   5;
    public static final int CATE_TYPE_WATCH_PROPERTY    =   6;


    public static final int PAYMENT_TYPE_ALL            =   1;                  //全款
    public static final int PAYMENT_TYPE_MONTH_12       =   2;
    public static final int PAYMENT_TYPE_MONTH_24       =   3;
    public static final int PAYMENT_TYPE_MONTH_36       =   4;

    public static final int REGION_OBJECT_TYPE_PLEDGE          =   1;
    public static final int REGION_OBJECT_TYPE_SECOND          =   2;
    public static final int REGION_OBJECT_TYPE_YELLOW          =   3;
    public static final int REGION_OBJECT_TYPE_WATCH           =   4;

    public static final int BUSINESS_ON_SELL                =   1;
    public static final int BUSINESS_OFF_SELL               =   0;

    public static final int TYPE_ID_CAR_PROPERTY                =   4;
    public static final int TYPE_ID_WATCH_PROPERTY              =   6;
}
